package cn.kgc;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients
@EnableCircuitBreaker   // 开启hystrix服务
public class HystrixClientApplication {
    public static void main( String[] args ) {
        SpringApplication.run(HystrixClientApplication.class,args);
    }
}
